﻿<?php

class SpendApp extends BaseApp
{

    function index()
    {
	    $app = $_GET['logicapp'];
	    $act = $_GET['logicact'];				
	    $logic_app_file = ROOT_PATH . '/data/logic/' . $app .'.logic.php';		
		require ($logic_app_file);		
		$app_class_name = ucfirst($app) . 'App';
		$logicapp = new $app_class_name ();		
		$logicapp->do_action($act);
		$logicapp->destruct();
    }
	
}
?>